dependencies (libvncserver and libsdl devel packages). Enable them with
XENFB_TOOLS=y.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
# Optional components
XENSTAT_XENTOP ?= y
-
VTPM_TOOLS ?= n
LIBXENAPI_BINDINGS ?= n
+XENFB_TOOLS ?= n
-include $(XEN_ROOT)/.config
SUBDIRS-y += libaio
SUBDIRS-y += blktap
SUBDIRS-y += libfsimage
-SUBDIRS-y += xenfb
+SUBDIRS-$(XENFB_TOOLS) += xenfb
SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen
# These don't cross-compile
+XEN_ROOT = ../..
+include $(XEN_ROOT)/tools/Rules.mk
.PHONY: all
all: build
# Check this machine is OK for building on.
.PHONY: build
build:
- ./chk build
+ XENFB_TOOLS=$(XENFB_TOOLS) ./chk build
# Check this machine is OK for installing on.
# DO NOT use this check from 'make install' in the parent
# copy rather than actually installing.
.PHONY: install
install:
- ./chk install
+ XENFB_TOOLS=$(XENFB_TOOLS) ./chk install
.PHONY: clean
clean:
#!/bin/sh
# CHECK-BUILD CHECK-INSTALL
+if [ ! "$XENFB_TOOLS" = "y" ]
+then
+ echo -n "unused, "
+ exit 0
+fi
+
RC=0
LIBVNCSERVER_CONFIG="$(which libvncserver-config)"
#!/bin/sh
# CHECK-BUILD CHECK-INSTALL
+if [ ! "$XENFB_TOOLS" = "y" ]
+then
+ echo -n "unused, "
+ exit 0
+fi
+
RC=0
SDL_CONFIG="$(which sdl-config)"